// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by sidekick. DO NOT EDIT.
#![allow(rustdoc::redundant_explicit_links)]
#![allow(rustdoc::broken_intra_doc_links)]

/// Implements a client for the Oracle Database@Google Cloud API.
///
/// # Example
/// ```
/// # tokio_test::block_on(async {
/// # use google_cloud_oracledatabase_v1::client::OracleDatabase;
/// let client = OracleDatabase::builder().build().await?;
/// // use `client` to make requests to the Oracle Database@Google Cloud API.
/// # gax::client_builder::Result::<()>::Ok(()) });
/// ```
///
/// # Service Description
///
/// Service describing handlers for resources
///
/// # Configuration
///
/// To configure `OracleDatabase` use the `with_*` methods in the type returned
/// by [builder()][OracleDatabase::builder]. The default configuration should
/// work for most applications. Common configuration changes include
///
/// * [with_endpoint()]: by default this client uses the global default endpoint
///   (`https://oracledatabase.googleapis.com`). Applications using regional
///   endpoints or running in restricted networks (e.g. a network configured
//    with [Private Google Access with VPC Service Controls]) may want to
///   override this default.
/// * [with_credentials()]: by default this client uses
///   [Application Default Credentials]. Applications using custom
///   authentication may need to override this default.
///
/// [with_endpoint()]: super::builder::oracle_database::ClientBuilder::with_endpoint
/// [with_credentials()]: super::builder::oracle_database::ClientBuilder::credentials
/// [Private Google Access with VPC Service Controls]: https://cloud.google.com/vpc-service-controls/docs/private-connectivity
/// [Application Default Credentials]: https://cloud.google.com/docs/authentication#adc
///
/// # Pooling and Cloning
///
/// `OracleDatabase` holds a connection pool internally, it is advised to
/// create one and the reuse it.  You do not need to wrap `OracleDatabase` in
/// an [Rc](std::rc::Rc) or [Arc](std::sync::Arc) to reuse it, because it
/// already uses an `Arc` internally.
#[derive(Clone, Debug)]
pub struct OracleDatabase {
    inner: std::sync::Arc<dyn super::stub::dynamic::OracleDatabase>,
}

impl OracleDatabase {
    /// Returns a builder for [OracleDatabase].
    ///
    /// ```
    /// # tokio_test::block_on(async {
    /// # use google_cloud_oracledatabase_v1::client::OracleDatabase;
    /// let client = OracleDatabase::builder().build().await?;
    /// # gax::client_builder::Result::<()>::Ok(()) });
    /// ```
    pub fn builder() -> super::builder::oracle_database::ClientBuilder {
        gax::client_builder::internal::new_builder(super::builder::oracle_database::client::Factory)
    }

    /// Creates a new client from the provided stub.
    ///
    /// The most common case for calling this function is in tests mocking the
    /// client's behavior.
    pub fn from_stub<T>(stub: T) -> Self
    where
        T: super::stub::OracleDatabase + 'static,
    {
        Self {
            inner: std::sync::Arc::new(stub),
        }
    }

    pub(crate) async fn new(
        config: gaxi::options::ClientConfig,
    ) -> gax::client_builder::Result<Self> {
        let inner = Self::build_inner(config).await?;
        Ok(Self { inner })
    }

    async fn build_inner(
        conf: gaxi::options::ClientConfig,
    ) -> gax::client_builder::Result<std::sync::Arc<dyn super::stub::dynamic::OracleDatabase>> {
        if gaxi::options::tracing_enabled(&conf) {
            return Ok(std::sync::Arc::new(Self::build_with_tracing(conf).await?));
        }
        Ok(std::sync::Arc::new(Self::build_transport(conf).await?))
    }

    async fn build_transport(
        conf: gaxi::options::ClientConfig,
    ) -> gax::client_builder::Result<impl super::stub::OracleDatabase> {
        super::transport::OracleDatabase::new(conf).await
    }

    async fn build_with_tracing(
        conf: gaxi::options::ClientConfig,
    ) -> gax::client_builder::Result<impl super::stub::OracleDatabase> {
        Self::build_transport(conf)
            .await
            .map(super::tracing::OracleDatabase::new)
    }

    /// Lists Exadata Infrastructures in a given project and location.
    pub fn list_cloud_exadata_infrastructures(
        &self,
    ) -> super::builder::oracle_database::ListCloudExadataInfrastructures {
        super::builder::oracle_database::ListCloudExadataInfrastructures::new(self.inner.clone())
    }

    /// Gets details of a single Exadata Infrastructure.
    pub fn get_cloud_exadata_infrastructure(
        &self,
    ) -> super::builder::oracle_database::GetCloudExadataInfrastructure {
        super::builder::oracle_database::GetCloudExadataInfrastructure::new(self.inner.clone())
    }

    /// Creates a new Exadata Infrastructure in a given project and location.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_cloud_exadata_infrastructure(
        &self,
    ) -> super::builder::oracle_database::CreateCloudExadataInfrastructure {
        super::builder::oracle_database::CreateCloudExadataInfrastructure::new(self.inner.clone())
    }

    /// Deletes a single Exadata Infrastructure.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_cloud_exadata_infrastructure(
        &self,
    ) -> super::builder::oracle_database::DeleteCloudExadataInfrastructure {
        super::builder::oracle_database::DeleteCloudExadataInfrastructure::new(self.inner.clone())
    }

    /// Lists the VM Clusters in a given project and location.
    pub fn list_cloud_vm_clusters(&self) -> super::builder::oracle_database::ListCloudVmClusters {
        super::builder::oracle_database::ListCloudVmClusters::new(self.inner.clone())
    }

    /// Gets details of a single VM Cluster.
    pub fn get_cloud_vm_cluster(&self) -> super::builder::oracle_database::GetCloudVmCluster {
        super::builder::oracle_database::GetCloudVmCluster::new(self.inner.clone())
    }

    /// Creates a new VM Cluster in a given project and location.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_cloud_vm_cluster(&self) -> super::builder::oracle_database::CreateCloudVmCluster {
        super::builder::oracle_database::CreateCloudVmCluster::new(self.inner.clone())
    }

    /// Deletes a single VM Cluster.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_cloud_vm_cluster(&self) -> super::builder::oracle_database::DeleteCloudVmCluster {
        super::builder::oracle_database::DeleteCloudVmCluster::new(self.inner.clone())
    }

    /// Lists the entitlements in a given project.
    pub fn list_entitlements(&self) -> super::builder::oracle_database::ListEntitlements {
        super::builder::oracle_database::ListEntitlements::new(self.inner.clone())
    }

    /// Lists the database servers of an Exadata Infrastructure instance.
    pub fn list_db_servers(&self) -> super::builder::oracle_database::ListDbServers {
        super::builder::oracle_database::ListDbServers::new(self.inner.clone())
    }

    /// Lists the database nodes of a VM Cluster.
    pub fn list_db_nodes(&self) -> super::builder::oracle_database::ListDbNodes {
        super::builder::oracle_database::ListDbNodes::new(self.inner.clone())
    }

    /// Lists all the valid Oracle Grid Infrastructure (GI) versions for the given
    /// project and location.
    pub fn list_gi_versions(&self) -> super::builder::oracle_database::ListGiVersions {
        super::builder::oracle_database::ListGiVersions::new(self.inner.clone())
    }

    /// Lists all the valid minor versions for the given
    /// project, location, gi version and shape family.
    pub fn list_minor_versions(&self) -> super::builder::oracle_database::ListMinorVersions {
        super::builder::oracle_database::ListMinorVersions::new(self.inner.clone())
    }

    /// Lists the database system shapes available for the project and location.
    pub fn list_db_system_shapes(&self) -> super::builder::oracle_database::ListDbSystemShapes {
        super::builder::oracle_database::ListDbSystemShapes::new(self.inner.clone())
    }

    /// Lists the Autonomous Databases in a given project and location.
    pub fn list_autonomous_databases(
        &self,
    ) -> super::builder::oracle_database::ListAutonomousDatabases {
        super::builder::oracle_database::ListAutonomousDatabases::new(self.inner.clone())
    }

    /// Gets the details of a single Autonomous Database.
    pub fn get_autonomous_database(
        &self,
    ) -> super::builder::oracle_database::GetAutonomousDatabase {
        super::builder::oracle_database::GetAutonomousDatabase::new(self.inner.clone())
    }

    /// Creates a new Autonomous Database in a given project and location.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_autonomous_database(
        &self,
    ) -> super::builder::oracle_database::CreateAutonomousDatabase {
        super::builder::oracle_database::CreateAutonomousDatabase::new(self.inner.clone())
    }

    /// Updates the parameters of a single Autonomous Database.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn update_autonomous_database(
        &self,
    ) -> super::builder::oracle_database::UpdateAutonomousDatabase {
        super::builder::oracle_database::UpdateAutonomousDatabase::new(self.inner.clone())
    }

    /// Deletes a single Autonomous Database.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_autonomous_database(
        &self,
    ) -> super::builder::oracle_database::DeleteAutonomousDatabase {
        super::builder::oracle_database::DeleteAutonomousDatabase::new(self.inner.clone())
    }

    /// Restores a single Autonomous Database.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn restore_autonomous_database(
        &self,
    ) -> super::builder::oracle_database::RestoreAutonomousDatabase {
        super::builder::oracle_database::RestoreAutonomousDatabase::new(self.inner.clone())
    }

    /// Generates a wallet for an Autonomous Database.
    pub fn generate_autonomous_database_wallet(
        &self,
    ) -> super::builder::oracle_database::GenerateAutonomousDatabaseWallet {
        super::builder::oracle_database::GenerateAutonomousDatabaseWallet::new(self.inner.clone())
    }

    /// Lists all the available Autonomous Database versions for a project and
    /// location.
    pub fn list_autonomous_db_versions(
        &self,
    ) -> super::builder::oracle_database::ListAutonomousDbVersions {
        super::builder::oracle_database::ListAutonomousDbVersions::new(self.inner.clone())
    }

    /// Lists Autonomous Database Character Sets in a given project and location.
    pub fn list_autonomous_database_character_sets(
        &self,
    ) -> super::builder::oracle_database::ListAutonomousDatabaseCharacterSets {
        super::builder::oracle_database::ListAutonomousDatabaseCharacterSets::new(
            self.inner.clone(),
        )
    }

    /// Lists the long-term and automatic backups of an Autonomous Database.
    pub fn list_autonomous_database_backups(
        &self,
    ) -> super::builder::oracle_database::ListAutonomousDatabaseBackups {
        super::builder::oracle_database::ListAutonomousDatabaseBackups::new(self.inner.clone())
    }

    /// Stops an Autonomous Database.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn stop_autonomous_database(
        &self,
    ) -> super::builder::oracle_database::StopAutonomousDatabase {
        super::builder::oracle_database::StopAutonomousDatabase::new(self.inner.clone())
    }

    /// Starts an Autonomous Database.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn start_autonomous_database(
        &self,
    ) -> super::builder::oracle_database::StartAutonomousDatabase {
        super::builder::oracle_database::StartAutonomousDatabase::new(self.inner.clone())
    }

    /// Restarts an Autonomous Database.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn restart_autonomous_database(
        &self,
    ) -> super::builder::oracle_database::RestartAutonomousDatabase {
        super::builder::oracle_database::RestartAutonomousDatabase::new(self.inner.clone())
    }

    /// Initiates a switchover of specified autonomous database to the associated
    /// peer database.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn switchover_autonomous_database(
        &self,
    ) -> super::builder::oracle_database::SwitchoverAutonomousDatabase {
        super::builder::oracle_database::SwitchoverAutonomousDatabase::new(self.inner.clone())
    }

    /// Initiates a failover to target autonomous database from the associated
    /// primary database.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn failover_autonomous_database(
        &self,
    ) -> super::builder::oracle_database::FailoverAutonomousDatabase {
        super::builder::oracle_database::FailoverAutonomousDatabase::new(self.inner.clone())
    }

    /// Lists the ODB Networks in a given project and location.
    pub fn list_odb_networks(&self) -> super::builder::oracle_database::ListOdbNetworks {
        super::builder::oracle_database::ListOdbNetworks::new(self.inner.clone())
    }

    /// Gets details of a single ODB Network.
    pub fn get_odb_network(&self) -> super::builder::oracle_database::GetOdbNetwork {
        super::builder::oracle_database::GetOdbNetwork::new(self.inner.clone())
    }

    /// Creates a new ODB Network in a given project and location.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_odb_network(&self) -> super::builder::oracle_database::CreateOdbNetwork {
        super::builder::oracle_database::CreateOdbNetwork::new(self.inner.clone())
    }

    /// Deletes a single ODB Network.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_odb_network(&self) -> super::builder::oracle_database::DeleteOdbNetwork {
        super::builder::oracle_database::DeleteOdbNetwork::new(self.inner.clone())
    }

    /// Lists all the ODB Subnets in a given ODB Network.
    pub fn list_odb_subnets(&self) -> super::builder::oracle_database::ListOdbSubnets {
        super::builder::oracle_database::ListOdbSubnets::new(self.inner.clone())
    }

    /// Gets details of a single ODB Subnet.
    pub fn get_odb_subnet(&self) -> super::builder::oracle_database::GetOdbSubnet {
        super::builder::oracle_database::GetOdbSubnet::new(self.inner.clone())
    }

    /// Creates a new ODB Subnet in a given ODB Network.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_odb_subnet(&self) -> super::builder::oracle_database::CreateOdbSubnet {
        super::builder::oracle_database::CreateOdbSubnet::new(self.inner.clone())
    }

    /// Deletes a single ODB Subnet.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_odb_subnet(&self) -> super::builder::oracle_database::DeleteOdbSubnet {
        super::builder::oracle_database::DeleteOdbSubnet::new(self.inner.clone())
    }

    /// Lists all the Exadb (Exascale) VM Clusters for the given project and
    /// location.
    pub fn list_exadb_vm_clusters(&self) -> super::builder::oracle_database::ListExadbVmClusters {
        super::builder::oracle_database::ListExadbVmClusters::new(self.inner.clone())
    }

    /// Gets details of a single Exadb (Exascale) VM Cluster.
    pub fn get_exadb_vm_cluster(&self) -> super::builder::oracle_database::GetExadbVmCluster {
        super::builder::oracle_database::GetExadbVmCluster::new(self.inner.clone())
    }

    /// Creates a new Exadb (Exascale) VM Cluster resource.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_exadb_vm_cluster(&self) -> super::builder::oracle_database::CreateExadbVmCluster {
        super::builder::oracle_database::CreateExadbVmCluster::new(self.inner.clone())
    }

    /// Deletes a single Exadb (Exascale) VM Cluster.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_exadb_vm_cluster(&self) -> super::builder::oracle_database::DeleteExadbVmCluster {
        super::builder::oracle_database::DeleteExadbVmCluster::new(self.inner.clone())
    }

    /// Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to
    /// existing exadb vm cluster, only pass the node count.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn update_exadb_vm_cluster(&self) -> super::builder::oracle_database::UpdateExadbVmCluster {
        super::builder::oracle_database::UpdateExadbVmCluster::new(self.inner.clone())
    }

    /// Removes virtual machines from an existing exadb vm cluster.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn remove_virtual_machine_exadb_vm_cluster(
        &self,
    ) -> super::builder::oracle_database::RemoveVirtualMachineExadbVmCluster {
        super::builder::oracle_database::RemoveVirtualMachineExadbVmCluster::new(self.inner.clone())
    }

    /// Lists all the ExascaleDB Storage Vaults for the given project and
    /// location.
    pub fn list_exascale_db_storage_vaults(
        &self,
    ) -> super::builder::oracle_database::ListExascaleDbStorageVaults {
        super::builder::oracle_database::ListExascaleDbStorageVaults::new(self.inner.clone())
    }

    /// Gets details of a single ExascaleDB Storage Vault.
    pub fn get_exascale_db_storage_vault(
        &self,
    ) -> super::builder::oracle_database::GetExascaleDbStorageVault {
        super::builder::oracle_database::GetExascaleDbStorageVault::new(self.inner.clone())
    }

    /// Creates a new ExascaleDB Storage Vault resource.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_exascale_db_storage_vault(
        &self,
    ) -> super::builder::oracle_database::CreateExascaleDbStorageVault {
        super::builder::oracle_database::CreateExascaleDbStorageVault::new(self.inner.clone())
    }

    /// Deletes a single ExascaleDB Storage Vault.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_exascale_db_storage_vault(
        &self,
    ) -> super::builder::oracle_database::DeleteExascaleDbStorageVault {
        super::builder::oracle_database::DeleteExascaleDbStorageVault::new(self.inner.clone())
    }

    /// Lists all the DbSystemInitialStorageSizes for the given project and
    /// location.
    pub fn list_db_system_initial_storage_sizes(
        &self,
    ) -> super::builder::oracle_database::ListDbSystemInitialStorageSizes {
        super::builder::oracle_database::ListDbSystemInitialStorageSizes::new(self.inner.clone())
    }

    /// Lists all the Databases for the given project, location and DbSystem.
    pub fn list_databases(&self) -> super::builder::oracle_database::ListDatabases {
        super::builder::oracle_database::ListDatabases::new(self.inner.clone())
    }

    /// Gets details of a single Database.
    pub fn get_database(&self) -> super::builder::oracle_database::GetDatabase {
        super::builder::oracle_database::GetDatabase::new(self.inner.clone())
    }

    /// Lists all the PluggableDatabases for the given project, location and
    /// Container Database.
    pub fn list_pluggable_databases(
        &self,
    ) -> super::builder::oracle_database::ListPluggableDatabases {
        super::builder::oracle_database::ListPluggableDatabases::new(self.inner.clone())
    }

    /// Gets details of a single PluggableDatabase.
    pub fn get_pluggable_database(&self) -> super::builder::oracle_database::GetPluggableDatabase {
        super::builder::oracle_database::GetPluggableDatabase::new(self.inner.clone())
    }

    /// Lists all the DbSystems for the given project and location.
    pub fn list_db_systems(&self) -> super::builder::oracle_database::ListDbSystems {
        super::builder::oracle_database::ListDbSystems::new(self.inner.clone())
    }

    /// Gets details of a single DbSystem.
    pub fn get_db_system(&self) -> super::builder::oracle_database::GetDbSystem {
        super::builder::oracle_database::GetDbSystem::new(self.inner.clone())
    }

    /// Creates a new DbSystem in a given project and location.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn create_db_system(&self) -> super::builder::oracle_database::CreateDbSystem {
        super::builder::oracle_database::CreateDbSystem::new(self.inner.clone())
    }

    /// Deletes a single DbSystem.
    ///
    /// # Long running operations
    ///
    /// This method is used to start, and/or poll a [long-running Operation].
    /// The [Working with long-running operations] chapter in the [user guide]
    /// covers these operations in detail.
    ///
    /// [long-running operation]: https://google.aip.dev/151
    /// [user guide]: https://googleapis.github.io/google-cloud-rust/
    /// [working with long-running operations]: https://googleapis.github.io/google-cloud-rust/working_with_long_running_operations.html
    pub fn delete_db_system(&self) -> super::builder::oracle_database::DeleteDbSystem {
        super::builder::oracle_database::DeleteDbSystem::new(self.inner.clone())
    }

    /// List DbVersions for the given project and location.
    pub fn list_db_versions(&self) -> super::builder::oracle_database::ListDbVersions {
        super::builder::oracle_database::ListDbVersions::new(self.inner.clone())
    }

    /// List DatabaseCharacterSets for the given project and location.
    pub fn list_database_character_sets(
        &self,
    ) -> super::builder::oracle_database::ListDatabaseCharacterSets {
        super::builder::oracle_database::ListDatabaseCharacterSets::new(self.inner.clone())
    }

    /// Lists information about the supported locations for this service.
    pub fn list_locations(&self) -> super::builder::oracle_database::ListLocations {
        super::builder::oracle_database::ListLocations::new(self.inner.clone())
    }

    /// Gets information about a location.
    pub fn get_location(&self) -> super::builder::oracle_database::GetLocation {
        super::builder::oracle_database::GetLocation::new(self.inner.clone())
    }

    /// Provides the [Operations][google.longrunning.Operations] service functionality in this service.
    ///
    /// [google.longrunning.Operations]: longrunning::client::Operations
    pub fn list_operations(&self) -> super::builder::oracle_database::ListOperations {
        super::builder::oracle_database::ListOperations::new(self.inner.clone())
    }

    /// Provides the [Operations][google.longrunning.Operations] service functionality in this service.
    ///
    /// [google.longrunning.Operations]: longrunning::client::Operations
    pub fn get_operation(&self) -> super::builder::oracle_database::GetOperation {
        super::builder::oracle_database::GetOperation::new(self.inner.clone())
    }

    /// Provides the [Operations][google.longrunning.Operations] service functionality in this service.
    ///
    /// [google.longrunning.Operations]: longrunning::client::Operations
    pub fn delete_operation(&self) -> super::builder::oracle_database::DeleteOperation {
        super::builder::oracle_database::DeleteOperation::new(self.inner.clone())
    }

    /// Provides the [Operations][google.longrunning.Operations] service functionality in this service.
    ///
    /// [google.longrunning.Operations]: longrunning::client::Operations
    pub fn cancel_operation(&self) -> super::builder::oracle_database::CancelOperation {
        super::builder::oracle_database::CancelOperation::new(self.inner.clone())
    }
}
